/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package onlinebuy;

/**
 *
 * @author Yang Wu
 */
import javax.swing.*;
import java.awt.*;

public class Comfirmation {

    private JFrame cf;
    private JLabel cj;

public Comfirmation(){

    cf=new JFrame("Result");
    cj=new JLabel("Failed:not a valid username or password!");
    cf.setLayout(new GridLayout(1,1));
    cf.add(cj);

    cf.setSize(250, 100);
    cf.setVisible(true);
}



}
